package com.base.engine.gui;

import com.base.engine.MADEngine;
import com.base.engine.game.MADGame;

public class MADButtonExitGame extends MADButton {

	public MADButtonExitGame(MADGame g, float left, float top, float width, float height) {
		super(g, left, top, width, height, "Exit game");
	}
	
	public void onClick(){
		MADEngine.exit(); 
	}

}
